﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace _1.StudentsFromGroup2.Model
{
    public class Group
    {
        private static int MaxGroupId = 1;

        public int GroupNumber {get; private set;}
        public string DepartmentName { get; private set; }

        public Group(string name)
        {
            this.GroupNumber = MaxGroupId++;
            this.DepartmentName = name;
        }

    }
}
